package com.jxx.service;

import com.jxx.pojo.AdminInfo;
import com.jxx.pojo.AdminSecurity;
import com.jxx.vo.SysResult;
import com.jxx.vo.UpdatePassword;
import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface AdminService {

    SysResult getPassword(String adminAccount,String adminPassword);

    AdminInfo showInfo(Integer adminId);

    SysResult updateInfo(AdminInfo adminInfo);

    List<AdminSecurity> showSecurityQuestion(Integer adminId);

    SysResult updatePassword(UpdatePassword updatePassword,
                             HttpServletRequest request);
}
